const Formlist = ({ v, onClick }) => {
  return (
    <div>
      <dl 
        onClick={onClick}
        style={{ display: "flex", justifyContent: "space-around" }}
      >
        <dt>
          {v.start}-{v.end}
        </dt>
        <dd>
          <div>是否是高铁{v.isSpeed ? "是" : "不是"}</div>
          <div>是否是有票{v.isSeat ? "有" : "没有"}</div>
        </dd>
        <dd>
          <div>vip坐{v.tick.vip}</div>
          <div>一等坐{v.tick.firstTick}</div>
          <div>二等坐{v.tick.secondTick}</div>
        </dd>
      </dl>
    </div>
  );
};
export default Formlist;
